<!--#include file="./doctype.html"-->
<title><%=editTitle%>企业简介-<%=siteTitle%>-后台管理</title>
</head><body>
<div class="wrap">
	<ol class="breadcrumb">
		<li><a href="<%=fileName%>?q=index">列表首页</a></li>
		<li class="active"><a href="javascript:;" class="reload"><%=editTitle%></a></li>
	</ol>
	<div class="alert alert-success">
		<span class="close" data-dismiss="alert">&times;</span>
		简介内容分页标签为：[page]，注意小写
	</div>
	<form method="post" action="<%=fileName%>?q=save" class="mb10" role="form">
        <input type="hidden" name="id" value="<%=iid%>">
        <div class="form-group fix">
            <input id="title" name="title" class="form-control inline w30 check_value" placeholder="简介标题" value="<%=app.hec(data(0))%>" />
            <label class="inline control-label" for="title">简介标题</label>
        </div>
        <div class="form-group fix">
            <div class="inline w30 view_id" data-name="infoViewID" data-id="<%=data(1)%>"></div>
            <label class="inline control-label" for="infoViewID">使用模板(不选使用默认)</label>
        </div>
        <div class="form-group fix">
            <input id="picUrl" name="picUrl" class="form-control inline w30" placeholder="首页图片" value="<%=data(2)%>" />
            <label class="inline control-label" for="picUrl">首页图片</label>
            <span class="btn btn-default btn-sm selectPicUrl">上传图片</span>
        </div>
        <div class="form-group fix">
             <input id="orderID" name="orderID" class="form-control inline w30" placeholder="排序" value="<%=app.hec(data(3))%>" />
             <label class="inline control-label" for="orderID">排序(数字越大越在前)</label>
        </div>
        <div class="form-group fix">
             <label class="btn btn-sm btn-default control-label">
                 <input name="isStop" value="<%=data(4)%>" type="checkbox"
                 <% if app.cj_bool(data(4)) then %>checked="checked"<% End if %>
                 > 是否禁用？
             </label>
        </div>
        <div class="form-group fix">
            <label class="inline control-label" for="content">简介内容</label>
            <textarea id="content" name="content" class="form-control check_value" rows="10" placeholder="简介内容"><%=admin.deUploadDir(data(5))%></textarea>
        </div>
        <div class="form-group fix text-center submit_box"></div>
	</form>
    <!--#include file="loadeditor.html"-->
    <!--#include file="loadTime.html"-->
</div>
<script>
$(document).ready(function() {
    $('.view_id').getView();
	$('.check_value').checkEmpty();
$(this)
	.on('submit', 'form', function(){
		return $.submitForm('.check_value');
	})
})
</script>
</body>
</html>